#!/bin/bash
DIR=$1
NAME=svnversion.h

cd $DIR
echo -n "#define SVN_VERSION \"" > $NAME
svnversion -n . >> $NAME
echo "\"" >> $NAME

/usr/bin/wc -l *.[ch]* > loc.txt

